
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="../static/layui/css/layui.css">
<link rel="stylesheet" href="../static/layui/css/admin.css">
<script src="../static/layui/layui.js"></script>
<!--<script src="https://unpkg.com/axios/dist/axios.min.js"></script>-->
<script src="../static/jquery-latest.js"></script>
<script src="/static/fun.js"></script>
<head>

</head>
<body>
<div class="layui-body" id="LAY_app_body" style="left: 0">
    <div class="layadmin-tabsbody-item layui-show"><div class="layui-fluid">
        <div class="layadmin-tips">
            <i class="layui-icon" face=""></i>

            <div class="layui-text" style="font-size: 20px;">
                没有权限访问<br>
                <input  class="layui-btn" value="返回" type="button" onclick="backhome()">
            </div>
        </div>
    </div></div>
</div>
<script>
    function backhome(){
        Status = getCookie("Status")
        if (Status=="老师"){
            location.href = "/teacher"
        }else if (Status == "学生"){
            location.href = "/student"
        }else {
            location.href = "/login"
        }
    }
</script>
</body>
